import config from "../../config";

export default {
    getAsideTagList: {
        url: `${config.API_PREFIX}/blog/getAsideTagList`,
        name: "获取侧边栏标签列表",
        get: () => {
            const tagList = [
                {id: '', content: '', mark: ''},
            ]
            return new Promise((resolve) => resolve(tagList));
        }
    },
    getConsoleTagList: {
        url: `${config.API_PREFIX}/blog/getConsoleTagList`,
        name: "获取弹出层标签列表",
        get: () => {
            const tagList = [
                {id: "one", color: "#d3d3d3", content: "Hao", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "LeetCode", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "测试", mark: "2"},
                {id: "one", color: "#d3d3d3", content: "redisson", mark: "11"},
                {id: "one", color: "#d3d3d3", content: "动态代理", mark: "2"},
                {id: "one", color: "#d3d3d3", content: "brew", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "Doc View", mark: "6"},
                {id: "one", color: "#d3d3d3", content: "Spring", mark: "22"},
                {id: "one", color: "#d3d3d3", content: "utils", mark: "2"},
                {id: "one", color: "#d3d3d3", content: "工具", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "反射", mark: "2"},
                {id: "one", color: "#d3d3d3", content: "xml", mark: "0"},
                {id: "one", color: "#d3d3d3", content: "Curator", mark: "5"},
                {id: "one", color: "#d3d3d3", content: "源码笔记", mark: "38"},
                {id: "one", color: "#d3d3d3", content: "分布式锁", mark: "17"},
                {id: "one", color: "#d3d3d3", content: "源码学习", mark: "4"},
                {id: "one", color: "#d3d3d3", content: "ZooKeeper", mark: "5"},
                {id: "one", color: "#d3d3d3", content: "JDK", mark: "20"},
                {id: "one", color: "#d3d3d3", content: "Redis", mark: "12"},
                {id: "one", color: "#d3d3d3", content: "IDEA", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "plugin", mark: "4"},
                {id: "one", color: "#d3d3d3", content: "markdown", mark: "0"},
                {id: "one", color: "#d3d3d3", content: "next-key", mark: "4"},
                {id: "one", color: "#d3d3d3", content: "工具册", mark: "10"},
                {id: "one", color: "#d3d3d3", content: "hexo", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "mac", mark: "3"},
                {id: "one", color: "#d3d3d3", content: "mysql", mark: "5"},
                {id: "one", color: "#d3d3d3", content: "issue", mark: "4"},
                {id: "one", color: "#d3d3d3", content: "docker", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "单例模式", mark: "2"},
                {id: "one", color: "#d3d3d3", content: "分布式", mark: "2"},
                {id: "one", color: "#d3d3d3", content: "设计模式", mark: "5"},
                {id: "one", color: "#d3d3d3", content: "工作笔记", mark: "14"},
                {id: "one", color: "#d3d3d3", content: "流水号", mark: "1"},
                {id: "one", color: "#d3d3d3", content: "线程池", mark: "0"},
                {id: "one", color: "#d3d3d3", content: "ELK", mark: "10"},
                {id: "one", color: "#d3d3d3", content: "多线程", mark: "4"},
                {id: "one", color: "#d3d3d3", content: "Halo", mark: "0"}
            ]
            return new Promise((resolve) => resolve(tagList));
        }
    }
}